﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Twi.COMMON.WCF
{
    public class RequestException : Exception
    {
        /// <summary>
        /// 请求异常
        /// </summary>
        /// <param name="message"></param>
        /// <param name="status"></param>
        public RequestException(string message, ResponseMessageInfoStatus status)
            : base(message)
        {
            _responseMessageInfoStatus = status;
        }


        private ResponseMessageInfoStatus _responseMessageInfoStatus;

        public ResponseMessageInfoStatus ResponseMessageInfoStatus { get { return _responseMessageInfoStatus; } }
    }
}
